// hand.h – Specification of the class Hand
#include <string>
#include “card.h”

class Hand {
	private:
	  Card* cards;	// cards of the hand
	  int numCards;	// actual number of hands (min of 2 and a max of 5)

	public:
	  Hand();			// Default constructor
	  Hand(Hand&);			// Copy constructor
	  ~Hand();			// Destructor
	  int getNumOfCards() const;	// Returns number of cards
	  void addCard(Card&); 		// Adds a card to the hand
	  void removeCard(int);		// Deletes a card by specifying the position
	  Card& get(int) const; 	// Returns a Card that is stored at position pos
	  bool sameHands(Hand&); 	// Returns true if two objects of Hand contain the same cards
	  bool search(int, string);	// Returns true if a given card belongs to this hand
	  void print() const; 		// Prints the content of a hand
};
